<!DOCTYPE html>
<html>
<head>
  <style>img{ height: 100px; float: left; }</style>
  <script src="../js/jquery-1.4.2.js"></script>
</head>
<body>
	<div id="images">

</div>


<script>
           $('#divIndicator').ajaxStart(function(){$(this).show()})
                            .ajaxSuccess(function(){$(this).hide()})
                            .ajaxError(function(msg){$(this).hide();alert("Error"+msg);});

//$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback=?",
//        function(data){			
 //         $.each(data.items, function(i,item){
   //         $("<img/>").attr("src", item.media.m).appendTo("#images");
		//	//$('label').text(item.media.m);
     //       if ( i == 2 ) return false;
       //   });
        //});

		
$.getJSON("http://raywill.0fees.net/test/jsonheader3.php?tags=cat&jsoncallback=?",
        function(data){
					alert(data['name']);
        });
</script>

<script>

</script>

<br>	
<label>xx</label>
    <div id="divIndicator" class="indicator">
        <img src="../img/13221833.gif" />loading</div>	
</body>
</html>